<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>v-css</title>
<script src="../js/vue.js"></script>
<style>
	.active{
	
		color:red;
	}
	
</style>
</head>
<body>
<div id="app">

	<div  class="static" v-bind:class="classObject">动态样式</div>
	
</div>
<script>
 new Vue({
        el: '#app',
        data: {
			classObject: {
				active: true
			}
			
        },
		mounted: function(){
		
			this.rawHtml = this.initHtml;
		},
        methods: {

        }
    });
</script>
</body>
</html>
